package dfbz.homework10;

public class Test01 {
    public static void main(String[] args) {
        Person person = new Person();
        Task task = new Task(person);
       new Thread(()->{
               task.test01("张三","男");
       }).start();
       new Thread(new Runnable() {
           @Override
           public void run() {
               task.task2();
           }
       }).start();
    }
}
